package com.training.java.core.immutable;

import java.io.ObjectInputStream.GetField;

public class TelevisionDemo {

	public static void main(String[] args) {
		
		Television Tv= new Television("Black", "Videocorn", 1, "HD");
		
		System.out.println("Color Is = "+ Tv.getColor());
		System.out.println("Comapny Is = "+ Tv.getCompany());
		System.out.println("CurrentChannel Is = "+ Tv.getCurrentChannel());
		System.out.println("Model Is = "+ Tv.getModel());
		
		
		Tv.ChangeChannel(20);
		
		
		
		
	}

}
